# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=py3-django-suit
_realname=django-suit
pkgver=0.2.28
pkgrel=4
pkgdesc="Modern theme for Django admin interface"
options="!check" # No testsuite
url="https://djangosuit.com/"
arch="noarch"
license="CC-BY-NC-3.0"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/d/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir"/$_realname-$pkgver

replaces="py-django-suit" # Backwards compatibility
provides="py-django-suit=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5ed7c6fdc0c3a14c4b525338b9f0c6e2bc296bd06f20cc5b262dcef23711212a5d84d9f3bee610895ca31ac7b547c793177871023a254f0ccbb8ec3bca22b933  django-suit-0.2.28.tar.gz"
